package cn.hit.edu.test;

import cn.hit.edu.dao.StudentDao;
import cn.hit.edu.dao.impl.StudentDaoImpl;
import cn.hit.edu.entity.Student;

import java.util.List;

public class Hello {
    public static void main(String[] args){
        // Student student = new Student("4", "Dick", "m",21, "2004-02-20");
        StudentDao dao = new StudentDaoImpl();
        Student student = dao.getStudent("1");

            System.out.print(student.getSid() + "\t");
            System.out.print(student.getName() + "\t");
            System.out.print(student.getGender() + "\t");
            System.out.print(student.getAge() + "\t");
            System.out.println(student.getBirthday());

    }
}
